﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>动态相交线</title>

    <style>
        body {
            background-color: #eee;
            overflow: hidden;
        }

        canvas {
            background-color: #fff;
            display: block;
            margin: 0 auto;
            /*为了覆盖掉canvas自带的offset值*/
            position: absolute;
            top: 0;
            left: 0;
        }
    </style>
</head>
<body>

<canvas id="canvas"></canvas>

<script src="main.js"></script>

</body>
</html>
